Skip to content

[Snyk] Fix for 1 vulnerabilities#204

Open
snyk-io[bot] wants to merge 1 commit intomasterfrom
snyk-fix-7ea56a320dd28044bf5e3991b9f62c7c
Open

[Snyk] Fix for 1 vulnerabilities#204
snyk-io[bot] wants to merge 1 commit intomasterfrom
snyk-fix-7ea56a320dd28044bf5e3991b9f62c7c

Conversation

@snyk-io
Copy link
Copy Markdown

@snyk-io snyk-io bot commented Apr 5, 2026

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the maven dependencies of this project.

Snyk changed the following file(s):

  • samples/client/petstore/java/google-api-client/pom.xml

Vulnerabilities that will be fixed with an upgrade:

Issue Score Upgrade
high severity Allocation of Resources Without Limits or Throttling
SNYK-JAVA-COMFASTERXMLJACKSONCORE-15907551
  125   com.fasterxml.jackson.core:jackson-core:
2.10.1 -> 2.21.2
com.fasterxml.jackson.core:jackson-databind:
2.10.1 -> 2.21.2
com.google.api-client:google-api-client:
1.23.0 -> 1.31.2
No Path Found No Known Exploit

Breaking Change Risk

Merge Risk: High

Notice: This assessment is enhanced by AI.


Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Allocation of Resources Without Limits or Throttling

@snyk-io
Copy link
Copy Markdown
Author

snyk-io bot commented Apr 5, 2026

Merge Risk: High

This upgrade includes a significant update to the Jackson libraries, introducing a mandatory Java version bump and several potentially breaking behavioral changes. The google-api-client upgrade is considered low risk.

com.fasterxml.jackson.core:jackson-core & jackson-databind @ 2.10.1 → 2.21.2

Risk: HIGH

This is a large minor version upgrade for Jackson that introduces a higher Java version requirement and several notable changes that may require developer action.

Key Breaking Changes:

  • Java 8 Required: Starting with version 2.13, jackson-databind requires Java 8. Version 2.14 raises the requirement for jackson-core to Java 8 as well. Projects running on older Java versions must upgrade their JDK.
  • New Processing Limits (DoS Protection): Version 2.15 introduces new default limits on maximum number length, string length, and nesting depth to prevent Denial of Service attacks. Applications processing large or deeply nested JSON documents may encounter StreamConstraintsException and will need to configure the limits on the JsonFactory.
  • Behavioral Changes:
    • @JsonIgnore Precedence: In v2.14, the behavior of conflicting @JsonIgnore and @JsonProperty annotations changed. @JsonIgnore now takes precedence, which could alter serialization output.
    • Date Format: In v2.11, the default timezone offset format for java.util.Date changed to include a colon (e.g., +00:00), which may affect date parsers.
    • Record Deserialization: The mechanism for deserializing Java Records changed in v2.15, which could impact code that relied on the previous field-based behavior without explicit annotations.
    • **Arrays.asList() Mut

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

@snyk-io
Copy link
Copy Markdown
Author

snyk-io bot commented Apr 5, 2026

Snyk checks have failed. 2 issues have been found so far.

Status Scan Engine Critical High Medium Low Total (2)
Open Source Security 0 0 1 1 2 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants